package com.suzhouhe.util.request;

/**
 * 分页数据
 *
 * @author suzhouhe
 * @date 2020-11-03 17:28
 **/
public class PageRequest {

    /**
     * 分页大小,默认10
     */
    private Integer pageSize = 10;

    /**
     * 当前分页数，默认1，代表第一页
     */
    private Integer pageIndex = 1;


    /* get set 方法*/

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }
}
